package cn.pro.javafxlearn;

import cn.pro.commment.MyPane;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Main6 extends Application {
    public static void main(String[] args) {
          Application.launch(Main6.class,args);
    }
    @Override
    public void start(Stage primaryStage) {

        Scene scene=new Scene(new MyPane("hello world"),500,500);
        primaryStage.setScene(scene);
      primaryStage.show();
    }
}
